package com.kgc.easyshopping.service;

import com.kgc.easyshopping.entity.Category;

import java.util.List;

public interface CategoryService {
    int deleteByPrimaryKey(Integer cid);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    /**
     *
     * @return
     */
    List<Category> getList(Integer parentId, Integer type);
}
